<!-- 我的模块 -->

<template>
  <div v-if="one.type === 2">
    <FormTree label="所属分组" bind="parentId" :dict="$root.alarm_group_treeDict" third2 disabled />

    <FormInput :label="`${CORE.MAP.ALARM}名称`" bind="alarmTypeName" third2 required />

    <FormInput label="名称编码" bind="alarmTypeCode" third2 disabled />

    <FormSelect
      :label="`${CORE.MAP.ALARM}类型`"
      bind="alarmDictId, alarmDictName, alarmDictCode"
      :dict="CORE.DICT.alarm_type"
      third2
      required
    />

    <div class="marginBottom">
      <FormNum label="排序" bind="sortValue" :min="1" :max="99999" tip="请输入" quar required />
    </div>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyModule',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
